package cn.liu.hrm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 *
 */
@SpringBootApplication
//@EnableEurekaClient
@EnableZuulProxy //开启zuul，该标签让zuul成为后端微服务的代理服务。
@EnableFeignClients("cn.liu.hrm.feignclient")
public class ZuulServerApplication1020
{
    public static void main( String[] args )
    {
        SpringApplication.run(ZuulServerApplication1020.class);
    }
}
